{% extends 'ApiCloud/Base/layout.common.html.twig' %}

{% block body %}
    {% include "ApiCloud/Base/inc.head.light.html.twig" with {title:"资金流转",back:1} %}
    <div class="bcf pad10">
{#        <div class="fs14 mart10" v-if="from == 1 ">#}
{#            余额账户 <span class="fa fa-exchange"></span> 增值账户#}
{#        </div>#}
        <div class="bc13 ofh round3 c11 op8 shadow1 mart5" v-if="from == 1">
            <div class="flrc padt10">
                <div class="flex1 flcc">
                    <div class="c11 fs12">[[money.yue]]</div>
                    <div class="c12 fs8">余额</div>
                </div>
                <div class="fs12 flcc">
                    <span class="fa fa-angle-double-right padlr9"></span>
                    {#                                <span class="fs8 mart1">转入</span>#}
                </div>
                <div class="flex1 flcc">
                    <div class="c11 fs12">[[money.xuni + money.guquan]]</div>
                    <div class="c12 fs8">增值账户</div>
                </div>
            </div>
            <div class="jb01 tar c13 fs8 flex-r flex-fill ofh">
                <div class="flex1 bcf padlr9 padt2 round30 mar4 tac">
                    <input v-model="toXuni" class="tac c11 fs12" type="number" :placeholder="'账户可用' + money.yue">
                </div>
                <div class="pos-r flcc padl7 padr10">
                    <mu-ripple @click="toXuni = money.yue"><span class="padlr5 padt3 padb2 bdso bdcf round10 fs6">全部</span></mu-ripple>
                </div>
                <mu-ripple @click="moveToXuni()" class="pos-r bcaf3 padl10 padr10 flcc c11">
                    转入
                </mu-ripple>
            </div>
            <div class=" c02 bcf tac  fs8 padtb9">
                余额转入增值账户即可享受 <span class="fwb">稳定收益</span>
            </div>
        </div>
        <div class="bc13 ofh round3 c11 op8 shadow1 mart10" v-if="from == 2">
            <div class="flrc padt10">
                <div class="flex1 flcc">
                    <div class="c11 fs12">[[money.xuni]]</div>
                    <div class="c12 fs8">增值账户（未冻结）</div>
                </div>
                <div class="fs12 flcc">
                    <span class="fa fa-angle-double-right padlr9"></span>
                    {#                                <span class="fs8 mart1">转入</span>#}
                </div>
                <div class="flex1 flcc">
                    <div class="c11 fs12">[[money.yue]]</div>
                    <div class="c12 fs8">余额</div>
                </div>
            </div>
            <div class="jb02 tar c13 fs8 flex-r flex-fill ofh">
                <div class="flex1 bcf padlr9 padt2 round30 mar4 tac">
                    <input v-model="backXuni" class="tac c11 fs12" type="number" :placeholder="'账户可用' + money.xuni">
                </div>
                <div class="pos-r flcc padl7 padr10">
                    <mu-ripple @click="backXuni = money.xuni"><span class="padlr5 padt3 padb2 bdso bdcf round10 fs6">全部</span></mu-ripple>
                </div>
                <mu-ripple @click="moveBackXuni()" class="pos-r bcaf3 padl10 padr10 flcc c11">
                    转出
                </mu-ripple>
            </div>
        </div>


{#        <div class="fs14 mart20">#}
{#            增值账户 <span class="fa fa-exchange"></span> 合伙人帐户#}
{#        </div>#}
        <div class="bc13 ofh round3 c11 op8 shadow1 mart5" v-if="from == 3">
            <div class="flrc padt10">
                <div class="flex1 flcc">
                    <div class="c11 fs12">[[money.xuni]]</div>
                    <div class="c12 fs8">增值账户</div>
                </div>
                <div class="fs12 flcc">
                    <span class="fa fa-angle-double-right padlr9"></span>
                    {#                                <span class="fs8 mart1">冻结</span>#}
                </div>
                <div class="flex1 flcc">
                    <div class="c11 fs12">[[money.guquan]]</div>
                    <div class="c12 fs8">参与分红</div>
                </div>
            </div>
            <div class="jb01 tar c13 fs8 flex-r flex-fill ofh">
                <div class="flex1 bcf padlr9 padt2 round30 mar4 tac">
                    <input v-model="toLock" class="tac c11 fs12" type="number" :placeholder="'账户可用' + money.xuni" />
                </div>
                <div class="pos-r flcc padl7 padr10">
                    <mu-ripple  @click="toLock = money.xuni"><span class="padlr5 padt3 padb2 bdso bdcf round10 fs6">全部</span></mu-ripple>
                </div>
                <div class="pos-r bcaf3 padl10 padr10 flcc c11">
                    <mu-ripple  @click="moveToLock()">冻结</mu-ripple>
                </div>
            </div>
            <div class=" c02 bcf tac  fs8 padtb9">
                增值账户资金可以采用冻结的方式 <span class="fwb">参与分红</span>
            </div>
        </div>
        <div class="bc13 ofh round3 c11 op8 shadow1 mart10" v-if="from == 4">
            <div class="flrc padt10">
                <div class="flex1 flcc">
                    <div class="c11 fs12">[[money.guquan]]</div>
                    <div class="c12 fs8">参与分红</div>
                </div>
                <div class="fs12 flcc">
                    <span class="fa fa-angle-double-right padlr9"></span>
                    {#                                <span class="fs8 mart1">冻结</span>#}
                </div>
                <div class="flex1 flcc">
                    <div class="c11 fs12">[[money.xuni]]</div>
                    <div class="c12 fs8">增值账户</div>
                </div>
            </div>
            <div class="jb02 tar c13 fs8 flex-r flex-fill ofh">
                <div class="flex1 bcf padlr9 padt2 round30 mar4 tac">
                    <input v-model="backLock" class="tac c11 fs12" type="number" :placeholder="'账户可用' + money.guquan" />
                </div>
                <div class="pos-r flcc padl7 padr10">
                    <mu-ripple  @click="backLock = money.guquan"><span class="padlr5 padt3 padb2 bdso bdcf round10 fs6">全部</span></mu-ripple>
                </div>
                <div class="pos-r bcaf3 padl10 padr10 flcc c11">
                    <mu-ripple  @click="moveBackLock()">解冻</mu-ripple>
                </div>
            </div>
        </div>
    </div>

{% endblock %}
